/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package javalee.dao;

import java.sql.Connection;
import java.sql.ResultSet;
import java.util.ArrayList;

/**
 *
 * @author Danilo
 */
public abstract class DAO {
    protected Connection conexaoBanco;
    
    public DAO(){
        this.conexaoBanco = conexaoBD.getConexaoBanco();
    }
    public abstract boolean cadastrar(Object objeto);
    public abstract boolean alterar(Object objeto);
    public abstract boolean excluir(Object objeto);
    public abstract ArrayList consultar(Object objeto);

}
